import request from '@/utils/request'

// 查询四级联考递补资格审查列表
export function listDb_qualification(query) {
  return request({
    url: '/system/db_qualification/list',
    method: 'get',
    params: query
  })
}

// 查询四级联考递补资格审查详细
export function getDb_qualification(id) {
  return request({
    url: '/system/db_qualification/' + id,
    method: 'get'
  })
}

// 新增四级联考递补资格审查
export function addDb_qualification(data) {
  return request({
    url: '/system/db_qualification',
    method: 'post',
    data: data
  })
}

// 修改四级联考递补资格审查
export function updateDb_qualification(data) {
  return request({
    url: '/system/db_qualification',
    method: 'put',
    data: data
  })
}

// 删除四级联考递补资格审查
export function delDb_qualification(id) {
  return request({
    url: '/system/db_qualification/' + id,
    method: 'delete'
  })
}

// 导出四级联考递补资格审查
export function exportDb_qualification(query) {
  return request({
    url: '/system/db_qualification/export',
    method: 'post',
    params: query
  })
}

// 获取四级联考递补资格审查导入模板
export function importDb_qualificationTemplate() {
  return request({
    url: '/system/db_qualification/importTemplate',
    method: 'get'
  })
}

// 导入四级联考递补资格审查数据
export function importDb_qualificationData(data) {
  return request({
    url: '/system/db_qualification/importData',
    method: 'post',
    data: data
  })
}

// 下载模板
export function importTemplate() {
  return request({
    url: '/system/db_qualification/importTemplate',
    method: 'get'
  })
}

// 生成递补身份验证名单
export function generateDbIdentityList() {
  return request({
    url: '/system/db_qualification/generateDbIdentityList',
    method: 'post'
  })
}
